﻿using MyCode.Project.Infrastructure.Enumeration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Response.User
{
    public class LoginInfo
    {
        /// <summary>
        /// 租户ID
        /// </summary>
        public Guid MerchantId { get; set; }      

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 登录角色类型 1 顾客 11 观察者  12 加盟商  13 店员 14 店长 
        /// </summary>
        public LoginRoleType RoleType { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid? ShopId { get; set; }

        /// <summary>
        /// 加盟商ID,null为公司
        /// </summary>
        public Guid? CustomerId { get; set; }       

        /// <summary>
        /// 角色ID
        /// </summary>
        public Guid? RoleId { get; set; }

        public string OpenId { get; set; }

        public string UnionId { get; set; }

        /// <summary>
        /// 店员ID
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 头像地址URL
        /// </summary>
        public string HeadImgUrl { get; set; }


        /// <summary>
        ///微信昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 组织ID 后台管理人员才有值
        /// </summary>
        public Guid? OrganizationId { get; set; }



    }
}
